package com.yq.core.entity;

import java.util.Date;

import com.yq.core.annotation.AzerothTable;
import com.yq.core.base.entity.BaseEntity;

/**
 *
 */
@AzerothTable(
        name="sys_role",
        filter={"createAtStr", "updateAtStr"},
        sort={"createAt"},
        order=AzerothTable.DESC
)
public class SysRoleEntity extends BaseEntity {

    private String roleName;        //角色名称
    private String remark;          //描述
    private String useStatus;       //使用状态：0未使用，1已使用
    private String roleType;        //角色类型：1系统管理，2用户管理，3商户管理

    private Date createAt;          //创建时间
    private String createAtStr;     //创建时间-对应的字符型日期
    private String createBy;        //创建人
    private Date updateAt;          //修改时间
    private String updateAtStr;     //修改时间-对应的字符型日期
    private String updateBy;        //修改人

    @AzerothTable(insert="0", delete="1", select="0")
    private String deleteStatus;    //删除状态：0未删除，1已删除

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getUseStatus() {
        return useStatus;
    }

    public void setUseStatus(String useStatus) {
        this.useStatus = useStatus;
    }

    public String getRoleType() {
        return roleType;
    }

    public void setRoleType(String roleType) {
        this.roleType = roleType;
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    public String getCreateAtStr() {
        return createAtStr;
    }

    public void setCreateAtStr(String createAtStr) {
        this.createAtStr = createAtStr;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Date updateAt) {
        this.updateAt = updateAt;
    }

    public String getUpdateAtStr() {
        return updateAtStr;
    }

    public void setUpdateAtStr(String updateAtStr) {
        this.updateAtStr = updateAtStr;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String getDeleteStatus() {
        return deleteStatus;
    }

    public void setDeleteStatus(String deleteStatus) {
        this.deleteStatus = deleteStatus;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}